import request from '@/utils/request'
import qs from 'qs'

export function findListByPage(params) {
  return request({
    url: '/api/cross/db/contrast/run/log' + '?' + qs.stringify(params, { indices: false }),
    method: 'get'
  })
}

export function stop(pkId, taskPkId) {
  return request({
    url: `api/cross/db/contrast/run/log/stop/${pkId}/${taskPkId}`,
    method: 'get'
  })
}

export default {
  findListByPage, stop
}
